package top.lshaci.learning.springboot.web.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.lshaci.learning.springboot.web.annotation.LoginUser;
import top.lshaci.learning.springboot.web.model.LoginUserBo;

/**
 * LoginUserController
 *
 * @author lshaci
 * @since 1.0.0
 */
@RestController
@RequestMapping("/loginuser")
public class LoginUserController {

    @GetMapping("/get")
    public Object get(@LoginUser LoginUserBo loginUser) {
        System.err.println(loginUser);
        return loginUser;
    }
}
